import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }

//待办事项Vo
export function getInAgencyVo(data) {
    return request({
        url: getUrl("admin/inAgency/getInAgencyVo"),
        method: 'post',
        data
    })
}
//删除待办事项
export function removeInAgency(data){
    return request({
        url: getUrl("admin/inAgency/removeInAgency"),
        method: 'post',
        data
    })
}
//添加待办事项
export function addInAgency(data){
    return request({
        url: getUrl("admin/inAgency/addInAgency"),
        method: 'post',
        data
    })
}
//修改待办事项
export function updateInAgency(data){
    return request({
        url: getUrl("admin/inAgency/updateInAgency"),
        method: 'post',
        data
    })
}

//修改代办事项状态
export function updateAgencyStatus(data){
    return request({
        url: getUrl("admin/inAgency/updateAgencyStatus"),
        method: 'post',
        data
    })
}